export default class SceneManager {
    constructor(mainScene) {
        this.mainScene = mainScene;
        this.scene = mainScene.scene;
    }

    openMenu() {
        this.scene.pause('CafeScene');
        this.scene.launch('MainMenu');
    }

    backToCafe() {
        this.scene.stop('MainMenu');
        this.scene.resume('CafeScene');
    }

    openAlbum() {
        this.scene.pause('CafeScene');
        this.scene.launch('CatAlbum');
    }

    openSettings() {
        this.scene.pause('CafeScene');
        this.scene.launch('SettingScene');
    }
}